# -*- coding: utf-8 -*-
#!/usr/bin/python

##copyright 2014 Sebastian Stetter
##This file is part of the Lemonade Small Business Suite project and released under GPL v2
##http://lemonade.sebastianstetter.de

"""
simple client for LemonadeAndroidDial Server - Just a proof of concept
"""

import socket
socket.setdefaulttimeout(3) # Timeout auf 3 sec. setzen
import xmlrpclib

server = xmlrpclib.ServerProxy("http://192.168.1.3:50505")
#print server.dial_number('seret', '0815/0715')
print server.call_number('seret', '0815/0715')

